'use strict';
const db = uniCloud.database();
// 获取 `user` 集合的引用
const collection = db.collection('homeBanner');
exports.main = async (event, context) => {
	let homeBanner = collection.get()
	//返回数据给客户端
	return homeBanner
};
